package com.youdelu.stock.dao;

import com.youdelu.stock.bean.StockBean;
import com.youdelu.stock.bean.StockDayInfo;
import com.youdelu.stock.bean.GpData;

import java.util.List;

public interface IStockDIService {

//    List<StockBean> selectStockBeanList(String key);

    //mapper
    void insertStockList(List<GpData> stockBeanList);

    public void createStockInfoTable(String stockNum);


    List<GpData> selectStockList(String key, Long beginCount, Long pageCount);

    StockBean getStockInfoById(String stockId);

    int getStockCount(String key, Long beginCount, Long pageCount);

    List<GpData> selectTotalStockList();

    List<GpData> getNoExistStockList(List<GpData> stockBeanList);

    List<GpData> getStockListByScript();



    GpData getStockInfo(GpData stockBean, List<StockDayInfo> stockdayinfoList);

    void updateStock(GpData stockBean);


}
